package com.lanyun.dao;

import com.lanyun.pojo.Warehouse;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 李向南
 * 仓库
 */

public interface WarehouseDao {
    //查询仓库信息
    public List<Warehouse> listAllw();

    //查询所有管理员姓名
    public List listAllAdminName();

    //增加仓库信息
    public int add_warehouse(Warehouse warehouse);

    //数据回显(修改仓库)
    public Warehouse updeat_huixian_warehous(Integer id);

    //修改仓库
    public int update_warehouse(Warehouse warehouse);

    //单项删除
    public Integer delete_warehouse(Integer id);

    //批量删除
    public Integer deleteWarehouse(List<Integer> list);

    //采购入库选择仓库
    Warehouse selectWarehouse(String id);

}
